From 95ce7ffd2dd2ecbe6ce6c5ee3f987a22b52c3aa7 Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Fri, 9 Mar 2007 12:28:37 +0000 Subject: [PATCH] [XEN] Fix 14315 We do need to be able to shadow_enable vcpu-less domains. Signed-off-by: Tim Deegan --- xen/arch/x86/mm/shadow/common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/mm/shadow/common.c b/xen/arch/x86/mm/shadow/common.c index c8829abc2a..4907736299 100644 --- a/xen/arch/x86/mm/shadow/common.c +++ b/xen/arch/x86/mm/shadow/common.c @@ -2386,7 +2386,6 @@ int shadow_enable(struct domain *d, u32 mode) /* Sanity check the arguments */ if ( (d == current->domain) || - d->vcpu[0] == NULL || shadow_mode_enabled(d) || ((mode & PG_translate) && !(mode & PG_refcounts)) || ((mode & PG_external) && !(mode & PG_translate)) ) -- 2.30.2